from django.db import models

class Wenjuan(models.Model):
    class Meta:
        default_permissions = ()
        permissions = (
            # ("view_QY", "查看问卷记录区域不受限"),
            ("view_HZwenjuan", "查看患者调查记录"),
            ("view_JKwenjuan", "查看健康人群记录"),
            ("view_SFwenjuan", "查看随访调查记录"),
            # ("view_SQwenjuan", "查看社区机构记录"),
            ("view_HZYYwenjuan", "查看患者调查记录(医院)"),
            ("view_JKTJwenjuan", "查看健康人群记录(体检)"),
            ("view_RHwenjuan", "查看入户筛查表记录"),
            ("view_JKHNwenjuan", "查看健康人群记录（湖南）"),
            ("view_NCXHNwenjuan", "查看脑出血患者记录（湖南）"),
            ("view_NGSHNwenjuan", "查看脑梗塞患者记录（湖南）"),
            ("view_JDHNwenjuan",  "查看街道乡镇级基本信息记录"),

            ("view_HunanWenjuan", "查看湖南调查记录"),
            ("view_HubeiWenjuan", "查看湖北调查记录"),
            ("view_HenanWenjuan", "查看河南调查记录"),
            ("view_JiangxiWenjuan", "查看江西调查记录"),
            ("view_AnhuiWenjuan", "查看安徽调查记录"),

            ("view_HunanReview", "审阅湖南调查问卷"),
            ("view_HubeiReview", "审阅湖北调查问卷"),
            ("view_HenanReview", "审阅河南调查问卷"),
            ("view_JiangxiReview", "审阅江西调查问卷"),
            ("view_AnhuiReview", "审阅安徽调查问卷"),

            ("view_HunanPending", "查看湖南未提交名单"),
            ("view_HubeiPending", "查看湖北未提交名单"),
            ("view_HenanPending", "查看河南未提交名单"),
            ("view_JiangxiPending", "查看江西未提交名单"),
            ("view_AnhuiPending", "查看安徽未提交名单"),

            ("view_wenjuanresult", "查看问卷信息统计"),
            ("view_OverallAdmin","中部五省和脑卒中共同权限"),
            ("view_HunanNzz","湖南省脑卒中数据调查")
        )
        verbose_name = "问卷权限管理"
        verbose_name_plural = "问卷权限管理"